import request from '../../api/base'

export function findEmpByNameOrCode(data) {
  return request({
    method: 'get',
    url: 'api/member/api-member/job/findEmpByNameOrCode',
    data: {
      isDismiss: false,
      ...data
    },
    requestType: 'form'
  }).then(res => {
    if (res.flag) {
      return res.data
    }
    return [];
  })
}

